function outSt=findNonEmptyCell(x) 
if iscell(x)==false 
    error('X must be a Cell') 
end 
Nx=length(x(:)); 
isNonEmpty=zeros(Nx,1); 
for ii=1:Nx; 
    isEmpty(ii)=isempty(x{ii}); 
end 
outSt.indEmpty=find(isEmpty==1); 
outSt.indNonEmpty=find(isEmpty==0); 